import network from '@/utils/network'
import baseUrl from './baseUrl'
const BASE_URL = baseUrl + '/Config'

export default {
  async getList(params = {}) {
    return await network.request({
      url: BASE_URL + '/GetList',
      method: 'get',
      params
    });
  },
  async save(data: any) {
    return await network.request({
      url: BASE_URL + '/Save',
      method: 'post',
      data
    })
  }
}